package org.xiaojl.modules.sys.service;

import java.util.List;

import org.xiaojl.modules.sys.entity.SysResource;
import com.baomidou.mybatisplus.service.IService;

/**
 * <p>
 * 资源 服务类
 * </p>
 *
 * @author xiaojl
 * @since 2017-08-18
 */
public interface SysResourceService extends IService<SysResource> {

	List<SysResource> selectListByRoleIds(String roleIds,String type);

	String selectAllResourceTree(Long pid);

	void insertWithCacade(SysResource resource);

	void deleteWithCacade(SysResource menu);
	
}
